/* For Xinghuyun Background Management System */

@font-face {
    font-family: 'Barlow-SemiBold';
    src: url('../fonts/Barlow-SemiBold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --primary-color: #4764E6;
    --secondary-color: #2ecc71;
    --body-bg-color: #F5F6F7;
    --body-text-color: #333;
    --font-color1: #1A1A1A;
    --font-color2: #333;
    --font-color3: #666;
    --font-color4: #999;
    --font-color5: #CCC;
    --target-bg-color: #F8F9FA;
    --color-orange: #F77022;
}

body {
    background-color: var(--body-bg-color);
    color: var(--body-text-color);
    margin: 0;
    padding: 0;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.wrap {
    padding: 20px;
}

.container {
    display: grid;
    gap: 15px;
    min-width: 1180px;
}

.superman {
    grid-template-areas:
    "box-left box-right-top"
    "box-left box-right-bottom";
    grid-template-columns: 66% 1fr;
    grid-template-rows: 32% 1fr;
}

.general {
    grid-template-areas:
    "box-left box-right"
    "box-bottom box-bottom";
    grid-template-columns: 66% 1fr;
}

.panel {
    border-radius: 5px;
    background-color: #FFF;
    padding: 10px 20px;
}

.box-left {
    grid-area: box-left;
}
.box-right-top {
    grid-area: box-right-top;
}
.box-right-bottom {
    grid-area: box-right-bottom;
}

.box-right {
    grid-area: box-right;
}
.box-bottom {
    grid-area: box-bottom;
}

.x-content-box {
    position: relative;
}

.x-content-box + .x-content-box {
    margin-top: 16px;
}

.x-title {
    display: inline-block;
    margin: 0;
    padding: 12px 0;
    font-size: 16px;
    color: var(--font-color1);
    font-weight: 500;
    text-indent: 12px;
    line-height: 28px;
    position: relative;
}

.x-title::after {
    content: "";
    width: 4px;
    height: 16px;
    background-color: var(--primary-color);
    border-radius: 4px;
    position: absolute;
    left: 0;
    top: 18px;
}

.x-title-tabs {
    margin: 0;
    padding: 12px 0;
    height: 28px;
    font-size: 0;
    position: absolute;
    top: 0;
    right: 0;
}

.x-title-tabs > li {
    display: inline-block;
    font-size: 14px;
    line-height: 28px;
    padding: 0 9px;
    position: relative;
}

.x-title-tabs > li + li::after {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 1px;
    height: 12px;
    background-color: #CCC;
}

.x-title-tabs > li > a {
    color: var(--font-color3);
    text-decoration: none;
}

.x-title-tabs > li.tab-active > a {
    font-weight: 500;
    color: var(--primary-color);
}

.x-title-tabs > li > a:hover {
    color: var(--primary-color);
}

.x-title-inline {
    display: inline-block;
    height: 30px;
    margin-left: 18px;
    min-width: 200px;
}

.x-content-inner {
    position: relative;
}

.x-content-inner .time-switch {
    position: absolute;
    top: 0;
    right: 6px;
    text-align: right;
    z-index: 10;
    width: 200px;
    height: 30px;
}

.x-content-inner img {
    max-width: 100%;
}

.x-target-list {
    margin: 0;
    padding: 0;
    font-size: 0;
    display: grid;
    gap: 12px;
}

.x-target-list.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.x-target-list.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.x-target-list li {
    display: inline-block;
    list-style: none;
    font-size: 14px;
    box-sizing: border-box;
    height: 86px;
    background-color: var(--target-bg-color);
    border-radius: 6px;
    padding: 12px;
}

.x-target-title {
    margin: 0;
    padding: 2px 0 6px 0;
    font-weight: normal;
    font-size: 14px;
    color: var(--font-color3);
}

.x-target-content {
    color: var(--font-color1);
    font-size: 0;
}

.x-target-content > span {
    display: inline-block;
    font-size: 22px;
    line-height: 40px;
    font-family: 'Barlow-SemiBold', sans-serif;
    max-width: 80%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.x-target-content.money > span {
    color: var(--color-orange);
    padding-left: 28px;
    position: relative;
}

.x-target-content.money > span::before {
    content: "";
    width: 28px;
    height: 28px;
    position: absolute;
    left: -2px;
    top: 6px;
    background-image: url("./../image/icon-money.svg");
    background-size: 28px 28px;
    background-repeat: no-repeat;
}

.x-target-content.money > sub {
    color: var(--color-orange);
}

.x-target-content > sub {
    position: relative;
    top: -12px;
    left: 2px;
    font-size: 12px;
}

.x-target-list.mini li {
    height: 76px;
}

.x-target-list.mini .x-target-content > span {
    font-size: 16px;
    font-weight: bold;
    line-height: 30px;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.x-content-maxheight {
    max-height: 170px;
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: 12px;
}

.x-direct {
    border-radius: 6px;
    background-color: var(--target-bg-color);
    padding-left: 25%;
    position: relative;
}

.x-direct + .x-direct {
    margin-top: 12px;
}

.x-direct > h3 {
    width: 20%;
    margin: 0;
    padding: 0;
    height: 26px;
    font-size: 16px;
    color: #1A1A1A;
    font-weight: 500;
    line-height: 26px;
    position: absolute;
    left: 18px;
    top: 25px;
}

.x-basic-info {
    margin: 0;
    padding: 0;
    border: 1px solid #DBDEEC;
    border-radius: 6px;
}

.x-basic-info > li {
    font-size: 14px;
    list-style: none;
    background-color: #FBFBFB;
    border-top: 1px solid #DBDEEC;
}

.x-basic-info > li:first-child {
    border-top: none;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.x-basic-info > li:first-child > p {
    border-top-right-radius: 6px;
}

.x-basic-info > li:last-child {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.x-basic-info > li:last-child > p {
    border-bottom-right-radius: 6px;
}

.x-basic-info > li > span,
.x-basic-info > li > p {
    margin: 0;
    padding: 8px 6px;
    color: var(--font-color1);
    line-height: 22px;
}

.x-basic-info > li > span {
    float: left;
    width: 28%;
    text-align: right;
    color: var(--font-color3);
    padding-right: 12px;
}

.x-basic-info > li > p {
    margin-left: 32%;
    background-color: #FFF;
    border-left: 1px solid #DBDEEC;
    word-wrap: break-word;
    word-break: break-all;
}

.ranking-wrap {
    margin: 10px 0;
    padding-top: 6px;
    background: linear-gradient( 180deg, #F7FAFF 0%, #FFFFFF 100%);
    border-radius: 6px;
    border: 1px solid #DBDEEC;
}

.ranking-wrap > h2 {
    margin: 10px 0;
    padding: 10px 0;
    font-size: 16px;
    line-height: 24px;
    color: var(--font-color2);
    text-align: center;
}

.ranking-wrap + .ranking-wrap {
    margin-top: 20px;
}

.ranking-list {
    margin: 4px 8px;
    padding: 0;
}

.ranking-list > li {
    height: 28px;
    padding: 8px 0;
    list-style: none;
    display: flex;
    gap: 4px;
    color: var(--font-color2);
}

.ranking-list > li > em,
.ranking-list > li > p,
.ranking-list > li > span {
    display: inline-block;
    height: 28px;
    font-style: normal;
}

.ranking-list > li > p,
.ranking-list > li > span {
    line-height: 28px;
    font-size: 14px;
}

.ranking-list > li > em {
    width: 30px;
    text-align: center;
    background-image: url("./../image/ranking-bg01.png");
    background-size: 30px 90px;
    font-size: 15px;
    font-weight: bold;
    line-height: 24px;
    padding-top: 4px;
    color: var(--font-color3);
    background-position: left -61px;
}

.ranking-list > li:nth-child(1) > em {
    color: #FFF;
    background-position: left -1px;
}

.ranking-list > li:nth-child(2) > em,
.ranking-list > li:nth-child(3) > em {
    color: var(--primary-color);
    background-position: left -31px;
}

.ranking-list > li > p {
    flex-grow: 1;
    width: 200px;
    margin: 0;
    padding: 0 6px 0 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-list > li > span {
    max-width: 200px;
    text-align: right;
}


/* Detail Pages */
.detail-box {
    min-width: 1180px;
    position: relative;
}

.detail-box::after {
    content: "";
    clear: both;
    height: 0;
    display: table;
    overflow: hidden;
}

.detail-box + .detail-box {
    margin-top: 15px;
}

.detail-box > div {
    box-sizing: border-box;
}

.detail-box-left {
    width: 66%;
    float: left;
}

.detail-box-right {
    width: 30%;
    float: right;
}

.detail-box-half {
    width: 48%;
}

.detail-box-half:first-child {
    float: left;
}

.detail-box-half:last-child {
    float: right;
}

.update-time {
    padding: 10px 0;
    color: #666;
    font-size: 14px;
}

.update-time > span {
    color: #000;
    font-size: 16px;
    font-weight: 500;
}

.update-time > a {
    display: inline-block;
    vertical-align: middle;
    margin-left: 6px;
    width: 16px;
    height: 16px;
    background-image: url('');
    background-size: 16px 16px;
    font-size: 0;
    position: relative;
    top: -2px;
}
.energy-type {
    margin: 0;
    padding: 0;
}

.energy-type::after {
    content: "";
    clear: both;
    height: 0;
    display: table;
    overflow: hidden;
}

.energy-type > li {
    list-style: none;
    display: flex;
    float: left;
    width: 50%;
    height: 72px;
    margin: 30px 0 20px 0;
    color: #333;
}

.energy-type > li [class*='pic'] {
    width: 72px;
    height: 72px;
    background-image: url("./../image/energy-bg01.png");
    background-size: 72px 288px;
    flex-shrink: 0;
}

.energy-type > li .pic01 {
    background-position: left top;
}

.energy-type > li .pic02 {
    background-position: left -72px;
}

.energy-type > li .pic03 {
    background-position: left -144px;
}

.energy-type > li .pic04 {
    background-position: left -216px;
}

.energy-type > li .txt {
    box-sizing: border-box;
    padding-top: 10px;
    padding-left: 8px;
    flex: 1;
    height: 72px;
    min-width: 0;
}

.energy-type > li .txt h4,
.energy-type > li .txt p {
    margin: 0;
    padding: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.energy-type > li .txt h4 {
    font-size: 14px;
    font-weight: normal;
    line-height: 24px;
    height: 24px;
}

.energy-type > li .txt p {
    font-size: 18px;
    font-weight: 600;
    line-height: 36px;
    height: 36px;
}

.x-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-bottom: 12px;
}

.x-table tr > td {
    border: 1px solid #DBDEEC;
    margin: 0;
    padding: 10px 8px;
    line-height: 22px;
}

.x-table tr > td.lab {
    background-color: #FBFBFB;
    text-align: right;
    font-weight: 500;
}

.x-table tr > td.con {
    background-color: #FFF;
    text-align: left;
}
